home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / loadavg.man < prev    next >
Encoding:
Text File  |  1991-11-01  |  4.6 KB  |  135 lines

  1.  
  2.  
  3.  
  4. LOADAVG                   User Commands                   LOADAVG
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NNAAMMEE
  11.      loadavg, uptime, la, evict - Interface to the migration load
  12.      average and idle time database
  13.  
  14. SSYYNNOOPPSSIISS
  15.      llooaaddaavvgg --ll
  16.      llooaaddaavvgg --aa
  17.      llooaaddaavvgg --ZZ _h_o_s_t ...
  18.      llooaaddaavvgg --EE
  19.      uuppttiimmee
  20.      llaa
  21.      eevviicctt
  22.  
  23. _________________________________________________________________
  24.  
  25. IINNTTRROODDUUCCTTIIOONN
  26.      This command is used to provide user access to the migration
  27.      load  average  and  idle  time  database.  It may be used to
  28.      retrieve information about the local host or  all  hosts  on
  29.      the  network,  invalidate entries in the migration database,
  30.      or evict foreign processes.   The  default  for  llooaaddaavvgg  if
  31.      invoked with no arguments is to list the load average of the
  32.      local host.  This is also true if the program is invoked  as
  33.      llaa  or  uuppttiimmee,  which are synonyms to make llooaaddaavvgg somewhat
  34.      compatible with UNIX.  If the program is invoked  as  _e_v_i_c_t,
  35.      the default is to evict foreign processes.
  36.  
  37. RREETTRRIIEEVVIINNGG IINNFFOORRMMAATTIIOONN
  38.      --ll
  39.  
  40.      --aa   When invoked with the --ll flag, or  with  no  arguments,
  41.           llooaaddaavvgg  will print a line containing information about
  42.           the local host. The --aa flag is used to list information
  43.           about  all  hosts.  Each  line  contains  the hostname;
  44.           machine type;  machine  status;  migration  status;  1-
  45.           minute, 5-minute, and 15-minute weighted load averages;
  46.           and time since input was last received at the  console,
  47.           for   idle   hosts.   Times   are  given  in  the  form
  48.           ``days+hours:minutes''.  For hosts  that  are  running,
  49.           the  machine status is listed as ``up'' followed by the
  50.           time since they last rebooted.  The migration status is
  51.           ``inuse''  for  hosts  with  one  or  more active local
  52.           users, ``avail''  for  hosts  that  are  available  for
  53.           migration,  ``hasmig''for hosts that are currently run-
  54.           ning processes that are migrated from other hosts,  and
  55.           ``refuses''  for  hosts  that are idle but are refusing
  56.           migration (perhaps because they are running an incompa-
  57.           tible  version  of the kernel, or because they are file
  58.           servers). In addition, for  hosts  that  are  currently
  59.           available for migration from the host invoking llooaaddaavvgg,
  60.           a ** is printed next to the hostname.  After the  migra-
  61.           tion  status,  llooaaddaavvgg lists the weighted load averages
  62.  
  63.  
  64.  
  65. Sprite v.1.0       Printed:  October 31, 1991                   1
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72. LOADAVG                   User Commands                   LOADAVG
  73.  
  74.  
  75.  
  76.           and time since last input.  Note: idle  times  of  less
  77.           than  the  threshold  for  permitting migration are not
  78.           listed, and input from remote logins  does  not  affect
  79.           host   idle  time.   Finally,  the  machine  status  is
  80.           ``down'' for hosts that are not currently  running,  in
  81.           which  case  the  host is listed with the time since it
  82.           was last running.
  83.  
  84. IINNVVAALLIIDDAATTIINNGG IINNFFOORRMMAATTIIOONN
  85.      --ZZ _h_o_s_t ...
  86.           To invalidate the entries for one or more hosts in  the
  87.           shared  migration  database, invoke llooaaddaavvgg with the --ZZ
  88.           option, followed by the names of the hosts  to  invali-
  89.           date.   This  may be used if a host is removed from the
  90.           network, for example.  Hosts that are  not  invalidated
  91.           but  are  down  indefinitely will appear in the list of
  92.           hosts as being down.
  93.  
  94. EEVVIICCTTIIOONN
  95.      --EE   Running llooaaddaavvgg with the --EE option causes it  to  evict
  96.           foreign  processes as though the machine were no longer
  97.           idle.  If llooaaddaavvgg is invoked by the name _e_v_i_c_t,   evic-
  98.           tion  is  the default operation.  Eviction is performed
  99.           by invoking an ioctl on the pseudo-device corresponding
  100.           to the host-specific mmiiggdd daemon.
  101.  
  102. SSEEEE AALLSSOO
  103.      migd, mig, xload, migcmd
  104.  
  105. KKEEYYWWOORRDDSS
  106.      eviction, foreign, idle time, load average,  process  migra-
  107.      tion, uptime
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131. Sprite v.1.0       Printed:  October 31, 1991                   2
  132.  
  133.  
  134.  
  135.